{include file="index@public/header" /}
<style>
    .zhongxin{
        position:fixed;
        top:3em;
        width:80%;
        margin:10%;
        overflow: auto;
    }
    .zhongxin .col-xs-12{
        border-bottom:1px dashed #ccc;
        height:5em;
        line-height:5em;
    }
    .zhongxin .col-xs-12:last-child{
        border:none;
    }
    .zhongxin i{
        float:right;
        line-height:5em;
    }
</style>
<div class = "zhongxin" ng-controller = "zhongxinCtrl">
    <div class = "col-xs-12" ng-repeat = "list in lists" ng-click = "tiao(list.href)">{{list.name}}<i class="fa fa-angle-double-right"></i></div>
</div>
<script>
    app.controller('zhongxinCtrl', function($scope){
        $scope.lists = [{name: '我的通知',href:"{:url('index/oneself/notice')}"},{name: '积分管理',href:"{:url('index/oneself/score')}"},{name: '我发送的信件',href:"{:url('index/oneself/xinlist',array('id'=>'1'))}"},{name: '我收到的信件',href:"{:url('index/oneself/xinlist',array('id'=>'2'))}"},{name: '编辑我的资料',href:"{:url('index/index/register02',array('panduan'=>'1'))}"},
            {name: '我收到的礼物',href:"{:url('index/oneself/lwList',array('id'=>'1'))}"},{name: '我发送的礼物',href:"{:url('index/oneself/lwList',array('id'=>'2'))}"}];
        $scope.tiao = function(href){
            if("#" == href){
                alert('嫑捉急,正在写...');
            }
            window.location = href;
        }
    });
</script>
{include file="index@public/selfFooter" /}